import React from 'react'
import {NavLink} from 'react-router-dom'
import './Nav.css'
export default class Nav extends React.Component {
    render(){
        return (
            <div>
                <nav>
                    <ul>
                        <li><NavLink to="/home">Home</NavLink></li>
                        <li><NavLink to="/mine">Mine</NavLink></li>                      
                        <li><NavLink to="/user/zs/10">User</NavLink></li>
                        <li><NavLink to="/list">List</NavLink></li>
                        <NavLink to="/list/news1">News1</NavLink>
                        <NavLink to="/list/news2">News2</NavLink>
                    </ul>
                </nav>
            </div>
        )
    }
}